{% extends "base_cn.html" %}
{% block content %}
			   <div>
			    本月({% now "Y年m月"%})总消费: {{summary.expend_this_month|stringformat:".2f"}} 元
			    <ins><hr/></ins>
			     {% if summary.notpayCount %}
			     <div style="color:red;">共有 {{summary.notpayCount}} 笔记录还<a href="/notpay">未报销</a>! 共 {{summary.total_notpay|stringformat:".2f"}} 元</div>
			     {% else %}
			     没有未报销项目!
			     {% endif %}
			   </div>
			   <hr/>
			   <table class="rightside">
			     <tr>
			       <td align="right">总收入:</td><td>{{summary.total_income|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td align="right">已报销支出:</td><td align="left">{{summary.payedout|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td colspan="2" align="right">--------------------------</td>
			     </tr>   
			     <tr>
			       <td align="right">余额:</td><td>{{summary.remaining|stringformat:".2f"}}</td>
			     </tr>   
			     <tr>
			       <td align="right">未报销支出:</td><td style="color:Red;">{{summary.total_notpay|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td colspan="3" align="right">--------------------------</td>
			     </tr>
			     <tr>
			       <td align="right">净余额:</td><td>{{summary.balance|stringformat:".2f"}}</td>
			     </tr>   
			   </table>
			   <hr/>
{% endblock %}
